package med.movyzer.io;

import java.util.ArrayList;

import javax.swing.JFrame;

import med.movyzer.datastructs.MovementSeries;
import med.movyzer.util.ExtCalendar;

import org.jfree.data.time.TimeSeries;

public interface MovyzerDataInterface {

	// These are the crucial functions:
	
	public boolean loadFile(String path, JFrame frame);
	
	public TimeSeries getTimeSeries();
	
	public MovementSeries getMovementSeries(int timeframeThreshold);
	
	public ArrayList<Integer[]> getData();
	
	public MovementSeries getMData();
	
	// Additional:
	
	// - Setter:
	
	public void setEndShowTime(ExtCalendar endtime);

	public void setEarthGravity(int earthGravity);

	public void setTreshold(int treshold);

	public void setShift(int shift);

	// - Getter:
	
	public ExtCalendar getEndTime();
	
	public int getShift();
	
	// - else
	
	public boolean isMobileFile();

	public boolean isRawFile();
	
}
